package com.ruoyi.hbs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 终端档案主档表
 */
@ApiModel(description="终端档案主档表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "hbs_terminal_archive")
public class HbsTerminalArchive implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键ID")
    private String id;

    /**
     * 档案状态：1-有效, 2-作废
     */
    @TableField(value = "archive_status")
    @ApiModelProperty(value="档案状态：1-有效, 2-作废")
    private String archiveStatus;

    /**
     * 开发状态：1-已有品规入院, 2-尚无品规入院
     */
    @TableField(value = "development_status")
    @ApiModelProperty(value="开发状态：1-已有品规入院, 2-尚无品规入院")
    private String developmentStatus;

    /**
     * 终端ID
     */
    @TableField(value = "terminal")
    @ApiModelProperty(value="终端ID")
    private String terminal;

    /**
     * 终端名称
     */
    @TableField(value = "terminal_name")
    @ApiModelProperty(value="终端名称")
    private String terminalName;

    /**
     * 别名/曾用名
     */
    @TableField(value = "alias_name")
    @ApiModelProperty(value="别名/曾用名")
    private String aliasName;

    /**
     * 终端大类
     */
    @TableField(value = "terminal_category")
    @ApiModelProperty(value="终端大类")
    private String terminalCategory;

    /**
     * 终端小类
     */
    @TableField(value = "terminal_subcategory")
    @ApiModelProperty(value="终端小类")
    private String terminalSubcategory;

    /**
     * 终端性质
     */
    @TableField(value = "terminal_nature")
    @ApiModelProperty(value="终端性质")
    private String terminalNature;

    /**
     * 几级医院
     */
    @TableField(value = "hospital_level")
    @ApiModelProperty(value="几级医院")
    private String hospitalLevel;

    /**
     * 几等医院
     */
    @TableField(value = "hospital_grade")
    @ApiModelProperty(value="几等医院")
    private String hospitalGrade;

    /**
     * 定点医保：1-是, 2-否
     */
    @TableField(value = "medical_insurance")
    @ApiModelProperty(value="定点医保：1-是, 2-否")
    private String medicalInsurance;

    /**
     * 门诊量(人次/日)
     */
    @TableField(value = "outpatient_volume")
    @ApiModelProperty(value="门诊量(人次/日)")
    private Integer outpatientVolume;

    /**
     * 床位数(张)
     */
    @TableField(value = "bed_count")
    @ApiModelProperty(value="床位数(张)")
    private Integer bedCount;

    /**
     * 单位简介
     */
    @TableField(value = "unit_description")
    @ApiModelProperty(value="单位简介")
    private String unitDescription;

    /**
     * 所在省份
     */
    @TableField(value = "province")
    @ApiModelProperty(value="所在省份")
    private String province;

    /**
     * 所在城市
     */
    @TableField(value = "city")
    @ApiModelProperty(value="所在城市")
    private String city;

    /**
     * 所在区县
     */
    @TableField(value = "district")
    @ApiModelProperty(value="所在区县")
    private String district;

    /**
     * 详细地址
     */
    @TableField(value = "detailed_address")
    @ApiModelProperty(value="详细地址")
    private String detailedAddress;

    /**
     * 代理商数(家)
     */
    @TableField(value = "agent_count")
    @ApiModelProperty(value="代理商数(家)")
    private Integer agentCount;

    /**
     * 漏斗品规数(个)
     */
    @TableField(value = "funnel_specs_count")
    @ApiModelProperty(value="漏斗品规数(个)")
    private Integer funnelSpecsCount;

    /**
     * 入院品规数(个)
     */
    @TableField(value = "admitted_specs_count")
    @ApiModelProperty(value="入院品规数(个)")
    private Integer admittedSpecsCount;

    /**
     * 总计采购数(盒)
     */
    @TableField(value = "total_purchase_count")
    @ApiModelProperty(value="总计采购数(盒)")
    private Integer totalPurchaseCount;

    /**
     * 自增编号
     */
    @TableField(value = "auto_number")
    @ApiModelProperty(value="自增编号")
    private String autoNumber;

    /**
     * 批量
     */
    @TableField(value = "batch_info")
    @ApiModelProperty(value="批量")
    private String batchInfo;

    /**
     * 文本
     */
    @TableField(value = "text_field")
    @ApiModelProperty(value="文本")
    private String textField;

    /**
     * 开发统计(1=纳入,0=不纳入)
     */
    @TableField(value = "development_statistic")
    @ApiModelProperty(value="开发统计(1=纳入,0=不纳入)")
    private String developmentStatistic;

    /**
     * 所缺终端
     */
    @TableField(value = "missing_terminal")
    @ApiModelProperty(value="所缺终端")
    private String missingTerminal;

    /**
     * 数据来源：1-医保平台, 2-销售反馈, 3-天眼查
     */
    @TableField(value = "data_source")
    @ApiModelProperty(value="数据来源：1-医保平台, 2-销售反馈, 3-天眼查")
    private String dataSource;

    /**
     * 机构类型
     */
    @TableField(value = "institution_type")
    @ApiModelProperty(value="机构类型")
    private String institutionType;

    /**
     * 医保机构码
     */
    @TableField(value = "medical_insurance_code")
    @ApiModelProperty(value="医保机构码")
    private String medicalInsuranceCode;

    /**
     * 社会信用码
     */
    @TableField(value = "social_credit_code")
    @ApiModelProperty(value="社会信用码")
    private String socialCreditCode;

    /**
     * 创建时间
     */
    @TableField(value = "created_on")
    @ApiModelProperty(value="创建时间")
    private Date createdOn;

    /**
     * 更新时间
     */
    @TableField(value = "updated_on")
    @ApiModelProperty(value="更新时间")
    private Date updatedOn;
}